interface TableData {
    header: THeader[]
    body: TBody[]
    footer: TFooter
}

interface THeader {
    label: string
    key: string
    formatter?: Formatter
}

interface TBody {
    [propName: string]: string | number
}

interface TFooter {
    total: number
    pageSize: number
    currentPage: number
}

interface Formatter {
    (row: object, format: string): string
}

interface UserInfo {
    role_id: number,
    role_name: string,
    username: string
}